<template>
	<view>
		<view class="technilist" v-for="(item,index) in 5" :key="index" @click="techniciandetails">
			<view class="left">
				<image src="../../static/black.jpg" mode=""></image>
			</view>
			<view class="right">
				<view class="top">
					<view class="name">
						门福通
					</view>
					<view class="">
						高级技师
					</view>
				</view>
				<view class="centA">
					<view class="">
						三级甲等
					</view>
					<view class="">
						从业18年
					</view>
					<view class="">
						预约33354次
					</view>
				</view>
				<view class="centB">
					擅长：推拿、脊椎恢复
				</view>

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				page:1,//页码
			}
		},
		onLoad() {
			this.getattenlist()
		},
		methods: {
			//技师考勤
			techniciandetails(){
				uni.navigateTo({
					url:"../teacherattendance/teacherattendance"
				})
			},
			//获取技师列表
			getattenlist(){
				var that = this
				var data = {
					limit:20,
					page:that.page
				}
				that.$http("/api/user/store/getMassagist/" + 1, 'POST', data).then((res) => {
					console.log('会员列表', res.data.data.list)
					
				})
			},
		}
	}
</script>

<style lang="scss">
	image {
		width: 100%;
		height: 100%;
	}

	.technilist {
		display: flex;
		border-bottom: 1rpx solid #ECECEC;
		padding: 20rpx;

		.left {
			width: 130rpx;
			height: 130rpx;
			margin-right: 20rpx;

			image {
				border-radius: 50%;
			}
		}

		.right {
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			.top {
				display: flex;
				align-items: center;
				font-size: 26rpx;
				color: #000000;

				.name {
					font-size: 32rpx;
					font-weight: 550;
					margin-right: 20rpx;
				}
			}

			.centA {
				display: flex;
				align-items: center;

				view {
					width: 140rpx;
					height: 40rpx;
					text-align: center;
					line-height: 40rpx;
					background-color: #f49c1c;
					color: #FFFFFF;
					border-radius: 50rpx;
					font-size: 22rpx;
					margin-right: 10rpx;
				}

			}

			.centB {
				color: #C8C9CC;
				font-size: 24rpx;
			}
		}

	}
</style>
